package com.ky.tms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ky.tms.entity.TmsCustomer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chengkaimao
 * @since 2020-03-21
 */
public interface ITmsCustomerService extends IService<TmsCustomer> {

    IPage<TmsCustomer> page(String userName, TmsCustomer tmsCustomer, Long limit, Long pages);

    void add(String userName, TmsCustomer tmsCustomer);

    void update(String userName, TmsCustomer tmsCustomer);

    void del (String userName, List<Long> ids);

    List<Map<String, Object>> selectList(String userName);

}
